package com.cpfmat.service;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.cpfmat.entity.ContentUser;

public interface IContentUserService extends IService<ContentUser> {
	int customUpdate(ContentUser contentUser);

	Page<ContentUser> getcontentByUser(String userId, int pageNum, int pageSize);

	Page<ContentUser> getAllPage(String userName, String subTitle,int pageNum, int pageSize);
	
	/**
	 * 根据ID获取详情，里面已经将用户ID转为了用户名称
	 * @param seqId
	 * @return
	 */
	ContentUser getObjectById(@Param("seqId") String seqId);
}
